package com.hxzy.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 */
@ApiModel(value = "更改状态值")
@Getter
@Setter
@ToString
public class SysUserSearchDTO {

    @NotNull(message = "主键不能为空")
    @ApiModelProperty(value = "主键",required = true)
    private Long id;

    @NotNull(message = "status值不能为空")
    @ApiModelProperty(value = "状态值(0代表正常，1代表停用)",required = true)
    private String status;
}
